build: Clean the uninstalled introspection GIR files
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 31 Oct 2016 16:30:10 +0000 (16:30 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 31 Oct 2016 16:30:10 +0000 (16:30 +0000)
We need to remove them from the build when cleaning them.

Additionally, this automatically adds them to the Git ignore file.

gdk/Makefile.am
gsk/Makefile.am

index 8553d13c099eb164d9abaa61fb1ffe690ed1ada8..a84448e4ce98ead33faae2e5eb1a68bae9e11dec 100644 (file)
@@ -355,7 +355,7 @@ endif # OS_WIN32
 
 noinst_DATA = $(INTROSPECTION_GIRS)
 
-CLEANFILES += $(gir_DATA)
+CLEANFILES += $(INTROSPECTION_GIRS)
 
 endif # HAVE_INTROSPECTION
 
index cb5115202395331fc641d93c1397eee8f9d6f578..c920fdcec7f9c7ab15a87f36c7c8e9632f70f02f 100644 (file)
@@ -145,7 +145,7 @@ INTROSPECTION_GIRS += Gsk-noinst-4.0.gir
 
 noinst_DATA = $(INTROSPECTION_GIRS)
 
-CLEANFILES += $(gir_DATA)
+CLEANFILES += $(INTROSPECTION_GIRS)
 
 endif